home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_351 / pdc / libsrc.lzh / LibSrc / StringLib / bcmp.c next >
C/C++ Source or Header  |  1990-04-07  |  264b  |  15 lines

  1. /*
  2.  - bcmp - Berklix equivalent of memcmp
  3.  */
  4.  
  5. #include "config.h"
  6.  
  7. int                /* == 0 or != 0 for equality and inequality */
  8. bcmp(s1, s2, length)
  9. CONST char *s1;
  10. CONST char *s2;    
  11. int length;
  12. {
  13.     return(memcmp((CONST VOIDSTAR)s1, (CONST VOIDSTAR)s2, (SIZET)length));
  14. }
  15.